package com.lin.linchatgpt.service;

import com.mybatisflex.core.service.IService;
import com.lin.linchatgpt.entity.Subject;

import java.util.List;

/**
 *  服务层。
 *
 * @author 15898
 * @since 2023-06-13
 */
public interface SubjectService extends IService<Subject> {


    List<Subject> getSubjects(String userId);

    boolean removeAndMessageById(String subjectId);
}